package com.qq.BFMRSE.DAO;

public interface userDAO {
	/**
	 * 获取用户加密的密钥
	 * @param userName
	 * @return
	 */
	public String getPwd(String userName);
	/**
	 *  添加新用户
	 * @param userName
	 * @param pwd
	 * @param email
	 * @return
	 */
	public int addNewUser(String userName,String pwd,String email);
	/**
	 * 判断用户是否存在
	 * @param userName
	 * @return
	 */
	public boolean isUserExist(String userName);
	/**
	 * 删除用户
	 * @param userName
	 * @return
	 */
	public int deleteUser(String userName);

}
